/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package casino;

import java.util.Random;

/**
 *
 * @author amaghfur
 */
public class Casino {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        // set rng
        Random rng = new Random();
        // setup the game
        Table table = new Table();
        table.setLimit(new Rational(1000));
        Wheel wheel = new Wheel(rng);
        RouletteGame game = new RouletteGame(wheel, table);
        BinBuilder.buildBins(game);
        
        Player player = new PlayerCancellation(table);
        Simulator sim = new Simulator(game, player);
        
        sim.gather();
        
        sim.printRawResults();
        sim.printSummaryResults();
        

    }
}
